<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="./newstyle/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="./newstyle/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="./newstyle/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="./newstyle/css/style.css"/>
      <script src="./newstyle/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	$(window).load(function(){
    		$(".loading").addClass("loader-chanage")
    		$(".loading").fadeOut(300)
    	})
    </script>
 	<script type="text/javascript">
		function login(){

			if(document.getElementById('uname').value==""||document.getElementById('upass').value==""){
				alert("用户名和密码都不能为空");
			}else{
				var uname=document.getElementById('uname').value;
				var upass=document.getElementById('upass').value;
					<!--if(document.getElementById("checkbox").checked){-->
						<!--var checkbox=true;-->
						<!--getText(uname,upass,checkbox);-->
					<!--}else{-->
						<!--var checkbox=false;-->
						<!--getText(uname,upass,checkbox);-->
					<!--}-->
					var checkbox=true;
					getText(uname,upass,checkbox);

			}
		}
		function getText(uname,upass,checkbox){
			window.mylogin.showValue(uname,upass,checkbox);
		}

		</script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
 
<body>
	<header class="top-header" >
		<!-- <a class="text texta" href="index.html"><img src="icon/logo.png"/></a> -->
		<h3>登录</h3>
		<!-- <a class="text" href="sign.html">注册</a> -->
	</header>

	<div style="background: #fff;text-align:center;height:150px;padding-top:70px;"><img src="icon/logo.png"/></div>
	
	<div class="login">
		<form  action="#" method="post">
			<ul> 
				<li>
					<img src="./newstyle/images/login.png"/>
					<label>账号</label>
					<input type="text"  id="uname" name="uname"  value="user1"  placeholder="请输入账号"/>
				</li>
				<li>
					<img src="./newstyle/images/password.png"/>
					<label>密码</label>
					<input type="password"  id="upass" name="upass"  value="user1"  placeholder="请输入密码"/>
				</li>
			</ul>
			<input type="submit" onclick="login()" value="登录"/>
		</form>
	</div>

</body>
</html>


 